@echo off
rem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
rem  Package:		OurGrid 4.0
rem  Description:	This batch script simulates a sleep command.
rem  Copyright (c)  2007 Universidade Federal de Campina Grande 
rem - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

if %1.==. goto usage
if %1.==/?. goto usage
goto findself

:findself
set SELF=%~d0%~p0
goto main

:main
"%SELF%/sleep.exe" %1
goto usage

:usage
echo usage: 1>&2
echo [CALL] %0 ^<delay^> 1>&2
echo where: delay is the amount of time to sleep (in seconds).
goto eof

:eof